# -*- coding: utf-8 -*-

def OutputHeader(user):
    return '<div id="topnav"><div></div><div id="righttop"><font color="#00003E"><b><a href="" target="_blank">' \
           + user.nickname() + """</a> | <a href="/logout">logout</a> | <a href="/about">about</a> | faq</b></font> </div></div>

            <div id="header">
                <a href="/"><img src="/images/gastics.jpg" alt="Gastics" border="0"></a>
            </div>
            
            <div id="navgration">
            <ul class="nav">
            <li><a href="/">在线油耗统计工具</a></li>
            <li><a href ="/others">查看车友油耗</a></li>
            <li><a href ="/route">行车路线</a></li>
            <li><a href ="/maintain">保养记录</a></li>
            <li><a href ="/regsms">短信支持</a></li>
            </ul>
            </div>
    """
    

def OutputFooter():
    return """
            <div id="footer">
                <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" 
                    alt="Powered by Google App Engine" />
            </div>

    """
 
